# -*- coding:utf-8 -*-

import requests
from lxml import etree
from fake_useragent import UserAgent
from http import cookiejar
import json
from datetime import datetime
import time
import re
import execjs


requests.packages.urllib3.disable_warnings()  # 忽略HTTPS安全警告

class Test_Get():
    def __init__(self):
        #声明一个CookieJar对象实例来保存cookie
        self.cookie = cookiejar.CookieJar()
        ua = UserAgent(use_cache_server=False)  # 禁用服务器缓存
        self.headers = {
            # "User-Agent": ua.random
            'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15'

        }


    def get_contents(self, current):

        node = execjs.get()

        method = 'GETCITYWEATHER'
        city = '北京'
        type = 'HOUR'
        start_time = '2018-01-25 00:00:00'
        end_time = '2018-01-25 23:00:00'
        with open("./decrypt.js", "r", encoding='utf-8') as f:
            decrypt_str = f.read()
        ctx = node.compile(decrypt_str)
        js = 'getPostParamCode("{0}", "{1}", "{2}", "{3}", "{4}")'.format(method, city, type, start_time, end_time)
        params = ctx.eval(js)

        url = "https://www.aqistudy.cn/apinew/aqistudyapi.php"
        html = HttpUtils.do_request("POST", url, self.headers, params)
        #对加密的响应数据进行解密
        js = 'decodeData("{0}")'.format(html.text)
        decrypted_data = ctx.eval(js)
        # 解密后的数据，可以通过
        print(decrypted_data)

        aa = "QXlIZEROaVZzTmhFZFlWdTBzZGpEeldZanp0aEVRWkdXQUdqSkZBMStVTXRMd2kybE9yOTBaRkpEbE5DREU0YURqQ1p3anNVcjlIcVRwQ1FxRVlxSVNQekF3YW8vU0tNaHpaR21JK1dnc1p3K1VaSGozVVVqMjRON0gzM0tmTGVYRXhKL3JWUzgzd1ZPUUt4Sy9mbmpwZWtUYzdGT09xOVBZTWFPbzdmODcvbXhTdU8xMEtOaG1HSFhOdmhDU0VYbjJsY1RRaXdHdzdhSmZ3MCt6aUhnc0FBaFVlRzZIcjhBK3lyYW1qSEFQQXZqRFdnQkY4S21UNEFyTkVNcVZhay9WWDFoelQzd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uOE1rTmJVZXQ3ZGpRMFpjcW5FR1FWUDNYRUVpQ0l4VVNmMzQzazF1SW5jVzh3OEU5U21zTEN6WEZ2cDd5Ti9Pa25QSVdvczB3VGRqMkdhRUwvcFRPeGpCQ1FKV0dCT1BQOUl2K3VseDk2ODBCdG41c3ZjSngrNTZDMm9jNy95TDQrY1c1VHhOYlhoZ0dNc3RQelhsTWlsRTF2TmVDb2I1OERmeERyUDJXRjhSQWR4OHJuVFZ0djI0b2xqR1JsRUJNb3JyUUdXMm1mZ1ZiMkZINFdQVktjaHJtS2dHalFjUTl5WTRwR1ZlamZHcFhrL0FTRmVBQWxhNGpWQ1NvVS9vSEI0UVlFcitPMm1xWGJ0aXlQVU5DSVcyZTlXZy9TUWY0QlN5VVRuMkswQTM3ZHdoTHF2SnBtdGVjWDhYMHZMakQzRXdDY0ZmaXZZQ2ptbW13MXB0WCtqS3ZsWDJSbmdYMXBCWDRhcDIzT0IxZ2xMZFlVZ2haNi96bkp6ZkdUSXpoVlROZi96NXN3PQ=="
        js = 'decodeData("{0}")'.format(aa)
        decrypted_data = ctx.eval(js)
        # 可通过json序列化，返回字典数据
        #json.loads(decrypted_data)


if __name__ == '__main__':

    test_get = Test_Get()
    for i in range(1, 100):
        print(i)
        # test_get.get_contents(i)
        test_get.get_contents("")